namespace("gui.containers.HBox", {
    '@inherits': w3c.HtmlComponent,
	
	initialize : function(){
		var self=this;
		toArray(this.childNodes()).forEach(function(node){
			if(node && node.nodeType == w3c.NodeType.ELEMENT_NODE) {
				self.setStyles({"float":"left"},node);
			}
		});
	},
	
	appendChild : function(el, slot){
		el = el.element||el;
		
		this.setStyles({"float":"left"}, el);
		this.element.appendChild(el);
	},
	
	dragstart : function(){return false;}
});